package cn.com.Service;

/**
 * Created by luokun on 2018/3/16.
 */
public interface RedisSaveManageService {

    void increment(String key,long time);

    Integer get(String key);

    String getString(String key);

    void setAccount(String key,Integer account, long time);

    void setString(String key,String s,long time);

    void del(String ... key);

    <T> void addMapField(String key, String field,String obj);

    Object hget(String key,String item);

    void delMapField(String key, String... field);
}
